/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.testis.orm.dynamicmap.validation;

import org.testis.orm.refinedclasses.DynamicMapDesignTreeNode;

/**
 * 
 * @author nurhat
 */
public class ValidateUIDynamicGridObject extends ValidateUIObjectGroup {

    @Override
    public void validate(DynamicMapDesignTreeNode node,
	    DynamicMapDesignTreeNode root) {
	if (!node.getObject().getTypeName().equals("UIDynamicGrid")) {
	    return;
	}
	validateParameter("LocatorId", node, node, "*", true);
	super.validate(node, root);
    }
}
